﻿package 
{
	/*==================
	*====================
	*==@Author Luanluan==
	*====参数设置========
	*/

	public class Config
	{
		//方块大小
		public static const _SIZE:int = 20;
		//行数
		public static const _ROW:int = 19;
		//列数
		public static const _COL:int = 13;
		//分数
		public static const _SCORE:Array = new Array(10,30,50,80);
		
		//world位置
		public static const X0:Number = 40;
		public static const Y0:Number = 40;

		public static const typeL:Array = [[0,0],[0,1],[0,2],[1,2],[0,2],[1,2],[2,2],[2,1],[2,2],[2,1],[2,0],[1,0],[0,0],[1,0],[0,1],[2,0]];
		public static const typeB:Array = [[0,0],[1,0],[0,1],[1,1],[0,0],[1,0],[0,1],[1,1],[0,0],[1,0],[0,1],[1,1],[0,0],[1,0],[0,1],[1,1]];
		public static const typeZ:Array = [[0,0],[1,0],[1,1],[2,1],[0,2],[0,1],[1,1],[1,0],[0,0],[1,0],[1,1],[2,1],[0,2],[0,1],[1,1],[1,0]];
		public static const typeS:Array = [[1,0],[2,0],[0,1],[1,1],[0,0],[0,1],[1,1],[1,2],[1,0],[2,0],[0,1],[1,1],[0,0],[0,1],[1,1],[1,2]];
		public static const typeI:Array = [[3,0],[3,1],[3,2],[3,3],[0,3],[1,3],[2,3],[3,3],[3,0],[3,1],[3,2],[3,3],[0,3],[1,3],[2,3],[3,3]];
		public static const typeT:Array = [[1,0],[0,1],[1,1],[2,1],[0,0],[0,1],[0,2],[1,1],[0,0],[1,0],[2,0],[1,1],[2,0],[2,1],[2,2],[1,1]];
		public static const typeJ:Array = [[2,0],[2,1],[2,2],[1,2],[0,0],[1,0],[2,0],[2,1],[1,0],[0,0],[0,1],[0,2],[0,2],[1,2],[2,2],[0,1]];
		/*public static const typeL:Array = [[0,0],[0,1],[0,2],[1,2] ];
		public static const typeB:Array = [[0,0],[1,0],[0,1],[1,1] ];
		public static const typeZ:Array = [[0,0],[1,0],[1,1],[2,1] ];
		public static const typeS:Array = [[1,0],[2,0],[0,1],[1,1] ];
		public static const typeI:Array =  [[4,0],[4,1],[4,2],[4,3]  ];
		public static const typeT:Array = [[1,0],[0,1],[1,1],[2,1] ];
		public static const typeJ:Array = [[1,0],[1,1],[0,2],[1,2]];*/

	}

}